/*
	一些基础样式
*/


* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-size: 16px;
	color: black;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	user-select: none;
}

:root {
	color-scheme: light dark;
	--commonWidth: 800px;
	--commonHeight: 34px;
	/* 通用的边距 */
	--commonMargin: 20px;
	--btnColor: rgb(22, 160, 133);
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
	background-color: rgb(22, 160, 133);
	border-radius: 10px;
}

/* 滚动条滑块:hover状态 */
::-webkit-scrollbar-thumb:hover {
	background-color: rgb(29, 208, 170);
	/* 更深的绿色 */
}

html,
body {
	width: 100%;
	min-width: var(--commonWidth);
	height: 100%;
	background-color: rgb(221, 234, 241);
	flex-direction: column;
}

.center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.subtext {
	color: #616778;
	font-family: Poppins;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.btn {
	display: block;
	width: max-content;
	padding: 6px 12px;
	margin: 0 10px 20px 0;
	font-size: 16px;
	color: #fff;
	background-color: rgb(22, 160, 133);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
	z-index: 1;
	backface-visibility: hidden;
	will-change: transform;
}

.btn:before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
	transform: skewX(-45deg) translateX(-100%);
	transition: transform 0.3s ease;
	z-index: -1;
	backface-visibility: hidden;
	will-change: transform;
}

.btn:hover:before {
	transform: skewX(-45deg) translateX(100%);
}

.btn:hover {
	transform: scale(1.005);
	background-color: rgb(26, 180, 153);
	box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.25);
	backface-visibility: hidden;
}

body .hide {
	display: none;
}

input[type="text"] {
	width: 200px;
		border: 1px solid var(--btnColor);
		outline: none;
		padding: 2px;
}

input[type="text"]:focus {
	border-color: rgba(22, 160, 133, 1);
}

details {
	/* border: 1px solid var(--btnColor); */
	border-radius: 4px;
	padding: 0.5em 0.5em 0;
}

summary {
	color: #616778;
	font-weight: bold;
	margin: -0.5em -0.5em 0;
	padding: 0.5em;
}

details[open] {
	padding: 0.5em;
}

details[open] summary {
	border-bottom: 1px solid var(--btnColor);
	margin-bottom: 0.5em;
}

li {
	list-style: disc inside;
}

::marker {
	color: var(--btnColor);
}
